<template>
  <footer class="mindray-footer">
    <!-- 主要内容区域 -->
    <div class="footer-main">
      <div class="footer-container">
        <!-- 产品栏目 -->
        <div class="footer-column">
          <h3 class="footer-title">产品</h3>
          <ul class="footer-links">
            <li><a href="#">监护系统</a></li>
            <li><a href="#">呼吸机</a></li>
            <li><a href="#">麻醉机</a></li>
            <li><a href="#">超声影像</a></li>
            <li><a href="#">体外诊断仪器</a></li>
            <li><a href="#">外科产品</a></li>
            <li><a href="#">骨科产品</a></li>
          </ul>
        </div>

        <!-- 解决方案栏目 -->
        <div class="footer-column">
          <h3 class="footer-title">解决方案</h3>
          <ul class="footer-links">
            <li><a href="#">全院解决方案</a></li>
            <li><a href="#">瑞智联生态系统</a></li>
            <li><a href="#">迈瑞智检实验室</a></li>
            <li><a href="#">瑞影云+</a></li>
            <li><a href="#">数字一体化手术室系统</a></li>
            <li><a href="#">数字医学影像整体解决方案</a></li>
          </ul>
        </div>

        <!-- 用户服务栏目 -->
        <div class="footer-column">
          <h3 class="footer-title">用户服务</h3>
          <ul class="footer-links">
            <li><a href="#">操作视频</a></li>
            <li><a href="#">产品维护</a></li>
            <li><a href="#">产品升级</a></li>
            <li><a href="#">联系我们</a></li>
          </ul>
        </div>

        <!-- 媒体中心栏目 -->
        <div class="footer-column">
          <h3 class="footer-title">媒体中心</h3>
          <ul class="footer-links">
            <li><a href="#">新闻速递</a></li>
            <li><a href="#">客户故事</a></li>
            <li><a href="#">社媒中心</a></li>
            <li><a href="#">人才招聘</a></li>
            <li><a href="#">社会招聘</a></li>
            <li><a href="#">校园招聘</a></li>
          </ul>
        </div>

        <!-- 关于我们栏目 -->
        <div class="footer-column">
          <h3 class="footer-title">关于我们</h3>
          <ul class="footer-links">
            <li><a href="#">理念</a></li>
            <li><a href="#">创新</a></li>
            <li><a href="#">业务</a></li>
            <li><a href="#">历史</a></li>
            <li><a href="#">文化</a></li>
            <li><a href="#">ESG</a></li>
            <li><a href="#">投资者关系</a></li>
            <li><a href="#">联系我们</a></li>
            <li><a href="#">在线留言</a></li>
          </ul>
        </div>
      </div>
    </div>

    <!-- 底部信息区域 -->
    <div class="footer-bottom">
      <div class="footer-container">
        <div class="footer-bottom-content">
          <!-- 左侧联系信息和版权信息 -->
          <div class="footer-info">
            <!-- 联系信息 -->
            <div class="contact-info">
              <span class="phone">📞 4007005652</span>
              <span class="email">📧 800online@mindray.com</span>
            </div>

            <!-- 链接导航 -->
            <div class="footer-nav">
              <a href="#">使用条款</a>
              <span class="separator">|</span>
              <a href="#">网站地图</a>
              <span class="separator">|</span>
              <a href="#">隐私政策</a>
              <span class="separator">|</span>
              <a href="#">招聘隐私政策</a>
              <span class="separator">|</span>
              <a href="#">监察举报</a>
              <span class="separator">|</span>
              <a href="#">联系我们</a>
            </div>

            <!-- 版权信息 -->
            <div class="copyright">
              <p>© 2025 深圳迈瑞生物医疗电子股份有限公司 版权所有</p>
              <p>
                互联网药品信息服务资格证书[（粤）-非经营性-2023-0518] 
                <span class="icp-info">粤ICP备05083646号</span>
              </p>
            </div>
          </div>

          <!-- 右侧Logo -->
          <div class="footer-logo">
            <img src="/mindray-logo.svg" alt="Mindray 迈瑞" class="logo-image">
            <span class="logo-text">mindray迈瑞</span>
          </div>
        </div>
      </div>
    </div>
  </footer>
</template>

<script setup>
// Footer组件逻辑
console.log('Footer组件加载')
</script>

<style scoped>
.mindray-footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: #ecf0f1;
  font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
  margin-top: auto;
}

.footer-main {
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-main .footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-column {
  min-width: 0;
}

.footer-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #3498db;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 30px;
  height: 2px;
  background: #e74c3c;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  transition: all 0.3s ease;
  display: block;
  padding: 4px 0;
}

.footer-links a:hover {
  color: #3498db;
  padding-left: 8px;
  transform: translateX(4px);
}

.footer-bottom {
  padding: 30px 0;
  background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-image {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}

.logo-text {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 1px;
}

.footer-info {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.contact-info {
  margin-bottom: 15px;
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.phone, .email {
  color: #3498db;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-nav {
  margin-bottom: 15px;
  font-size: 13px;
  line-height: 1.6;
}

.footer-nav a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #3498db;
}

.separator {
  margin: 0 8px;
  color: #7f8c8d;
}

.copyright {
  font-size: 12px;
  color: #95a5a6;
  line-height: 1.6;
}

.copyright p {
  margin: 5px 0;
}

.icp-info {
  color: #e74c3c;
  font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .footer-main {
    padding: 40px 0 30px;
  }
  
  .footer-main .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .footer-title {
    font-size: 16px;
    margin-bottom: 15px;
  }
  
  .footer-links a {
    font-size: 13px;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .footer-info {
    text-align: center;
    max-width: none;
  }
  
  .contact-info {
    justify-content: center;
    gap: 20px;
  }
  
  .logo-text {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .footer-main .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .footer-container {
    padding: 0 15px;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-nav {
    font-size: 12px;
  }
  
  .separator {
    margin: 0 5px;
  }
}

/* 滚动动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-column {
  animation: fadeInUp 0.6s ease-out;
}

.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }
.footer-column:nth-child(4) { animation-delay: 0.4s; }
.footer-column:nth-child(5) { animation-delay: 0.5s; }

/* 深色主题适配 */
@media (prefers-color-scheme: dark) {
  .mindray-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  }
  
  .footer-bottom {
    background: rgba(0, 0, 0, 0.4);
  }
}
</style>
